package xcmg.device.dao.mapper.ratingManager;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import xcmg.device.dao.entity.ratingManager.OverallCompleteDetailDO;

import java.util.List;

@Mapper
@Repository
public interface OverallCompleteDetailDOMapper {
    int deleteByPrimaryKey(String id);

    int insert(OverallCompleteDetailDO record);

    int insertSelective(OverallCompleteDetailDO record);

    OverallCompleteDetailDO selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(OverallCompleteDetailDO record);

    int updateByPrimaryKey(OverallCompleteDetailDO record);

    int batchInsert(@Param("recordList") List<OverallCompleteDetailDO> recordList );

    OverallCompleteDetailDO selectByScoreInfoId(@Param("scoreInfoId") String scoreInfoId);
}